package com.hyh.mall.dao;

import com.hyh.mall.domin.MUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM user WHERE userName = #{userName} and password=#{password} and status=#{status}")
    MUser findMUser(MUser mUser);

    MUser findMUserByName(MUser mUser);


    MUser registName(MUser mUser);
}
